import request from '@/utils/request'

// 查询暂存库台账列表
export function listZcktzInfo(query) {
  return request({
    url: '/solidProdution/zcktzInfo/list',
    method: 'get',
    params: query
  })
}

// 查询暂存库台账详细
export function getZcktzInfo(zcktzId) {
  return request({
    url: '/solidProdution/zcktzInfo/' + zcktzId,
    method: 'get'
  })
}

// 新增暂存库台账
export function addZcktzInfo(data) {
  return request({
    url: '/solidProdution/zcktzInfo',
    method: 'post',
    data: data
  })
}

// 修改暂存库台账
export function updateZcktzInfo(data) {
  return request({
    url: '/solidProdution/zcktzInfo',
    method: 'put',
    data: data
  })
}

// 删除暂存库台账
export function delZcktzInfo(zcktzId) {
  return request({
    url: '/solidProdution/zcktzInfo/' + zcktzId,
    method: 'delete'
  })
}

// 导出暂存库台账
export function exportZcktzInfo(query) {
  return request({
    url: '/solidProdution/zcktzInfo/export',
    method: 'get',
    params: query
  })
}